package com.wzw.util;

public class UpdateUtil {

	public static UpdateXML updateXML(String pCode) {
		UpdateXML updateXml = null;
		try {
			if(ProjectCode.TCXB.getValue().equals(pCode)) {
				updateXml = (UpdateXML)Class.forName("com.wzw.tcxb.UpdateAwardCustomerXml").newInstance();
			}
		} catch (InstantiationException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		}
		return updateXml;
	}
}
